package com.luo.service;

import com.luo.dao.impl.AddressDaoImpl;
import com.luo.model.Address;

import java.util.List;

/**
 * 功能：
 * 作者：Luo。
 * 日期：2024/3/22 9:48
 */
public class AddressService {

	AddressDaoImpl addressDao = new AddressDaoImpl();

	//获取某用户的收货地址列表
	public List<Address> queryAddressByUserId(String id) {
		List<Address> address = addressDao.queryAddressByUserId(id);
		return address;
	}
}
